package com.hunny.singleton;

/**
 * 饥饿单例
 *
 * @author Create By Cb
 * @date 2022/04/25
 * @since 2022/4/25 9:59
 */
public class HungryBaseSingleton extends BaseSingleton {

    /**
     * 饥饿单例
     */
    private static final HungryBaseSingleton HUNGRY_SINGLETON = new HungryBaseSingleton();

    /**
     * 饥饿单例
     */
    private HungryBaseSingleton() {
    }

    /**
     * 获得实例
     *
     * @return {@link HungryBaseSingleton}
     */
    public static HungryBaseSingleton getInstance() {
        return HUNGRY_SINGLETON;
    }
}